import './threejs.scss'
import nameImg from '@/assets/images/name004.jpg'
import getName from '@/scripts/utils/getSignature'
export default function () {
  getName({ url: nameImg, isTransparent: true }, src => {
    // console.log(src)
    const parentEl = document.getElementById('three-comp')

    console.log('%c [ parentEl ]-9', 'font-size:13px; background:pink; color:#bf2c9f;', parentEl)
    const imageEL = document.createElement('img')
    imageEL.src = src
    imageEL.style.position = 'absolute'
    imageEL.style.top = '0'
    imageEL.style.left = '0'
    imageEL.style.width = '100%'
    imageEL.style.height = '100%'
    parentEl?.appendChild(imageEL)
  })
}
